window.onload=loadPage;
var url="http://q15811o461.imwork.net";
$(function(){
});
function imgClick(){
	location.href=url+"/main/PatientPayment";
}
function loadPage() {
	$.ajax({
        url: url+"/user/register",
        timeout: 30000,
        type: "get",
        dataType: "json",
        success: function (data) {
        	
        	var html = "";
        	for(var i = 0; i < data.length; i++){
        		html=html+"<tr>"
        					+"<td>"+data[i].department+"</td>"
        					+"<td>"+data[i].person_name+"</td>"
        					+"<td>"+data[i].registrationfee+"元</td>"
        					+"<td>"+data[i].CNworktime+"</td>"
        					+"<td>"+data[i].CNcreatetime+"</td>"
						 +"</tr>";
        	}
			$("#tableBody").html(html);
        }
	});
}